package com.anolesoft.yr.mbus.cont.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anolesoft.yr.mbus.cont.dao.ContMilestoneDao;
import java.util.List;
import com.anolesoft.yr.mbus.cont.entity.ContMilestoneExample;
import com.anolesoft.yr.mbus.cont.entity.ContMilestone;
import com.anolesoft.yr.mbus.cont.service.ContMilestoneService;

@Service
public class ContMilestoneServiceImpl extends ServiceImpl<ContMilestoneDao, ContMilestone> implements ContMilestoneService {

    @Override
    public long countByExample(ContMilestoneExample example) {
        return baseMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ContMilestoneExample example) {
        return baseMapper.deleteByExample(example);
    }

    @Override
    public List<ContMilestone> selectByExample(ContMilestoneExample example) {
        return baseMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(ContMilestone record, ContMilestoneExample example) {
        return baseMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ContMilestone record, ContMilestoneExample example) {
        return baseMapper.updateByExample(record, example);
    }

    @Override
    public int updateBatch(List<ContMilestone> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<ContMilestone> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(ContMilestone record) {
        return baseMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(ContMilestone record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}

